package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserBehaviorLogEntity;

/**
* User: linqu
* Date: 2023-06-02
* Time: 17:43:22.525
*/

public interface UserBehaviorLogDao  extends BaseMapper<UserBehaviorLogEntity> {
    /**
     * 查找用户最近一次操作记录
     */
    UserBehaviorLogEntity queryLatestLog(String userCode, Integer opType);

    UserBehaviorLogEntity getTodayFirstRecord(String userCode,Integer type);
}